using System;
using System.ServiceModel;

namespace WcfServices.Contracts
{
	[ServiceContract(Name = "LiveService")]
	public interface ILive
	{
		/// <summary>
		/// 创建直播频道
		/// </summary>
		/// <returns>
		/// The live channel.
		/// </returns>
		[OperationContract] 
	    string CreateLiveChannel(string name, string groupID);
		
		
		[OperationContract] 
		void AddLiveItem(string channelID, LiveItem item);
	}
	
	public class LiveItem : MarshalByRefObject
	{
		public string ItemString {get; set;}
	}
}

